<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: doorbell</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__multicore__doorbell.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">doorbell<div class="ingroups"><a class="el" href="group__high__level.html">High Level APIs</a> &raquo; <a class="el" href="group__pico__multicore.html">pico_multicore</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Functions related to doorbells which a core can use to raise IRQs on itself or the other core.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga676ee71a9eb92807a482e2467ed163f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga676ee71a9eb92807a482e2467ed163f6">DOORBELL_IRQ_NUM</a>(doorbell_num)</td></tr>
<tr class="memdesc:ga676ee71a9eb92807a482e2467ed163f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="group__hardware__irq.html#gaf30862f51b5994ffd5863176a185d137">irq_num_t</a> for processor interrupts for the given doorbell number.  <a href="group__multicore__doorbell.html#ga676ee71a9eb92807a482e2467ed163f6">More...</a><br /></td></tr>
<tr class="separator:ga676ee71a9eb92807a482e2467ed163f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga278b6df9e61e3b54b3862183a94513d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga278b6df9e61e3b54b3862183a94513d2">multicore_doorbell_claim</a> (uint doorbell_num, uint core_mask)</td></tr>
<tr class="memdesc:ga278b6df9e61e3b54b3862183a94513d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cooperatively claim the use of this hardware alarm_num.  <a href="group__multicore__doorbell.html#ga278b6df9e61e3b54b3862183a94513d2">More...</a><br /></td></tr>
<tr class="separator:ga278b6df9e61e3b54b3862183a94513d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67aa5ca0c54bc8f2c7acd69cca6829a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga67aa5ca0c54bc8f2c7acd69cca6829a6">multicore_doorbell_claim_unused</a> (uint core_mask, bool required)</td></tr>
<tr class="memdesc:ga67aa5ca0c54bc8f2c7acd69cca6829a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cooperatively claim the use of this hardware alarm_num.  <a href="group__multicore__doorbell.html#ga67aa5ca0c54bc8f2c7acd69cca6829a6">More...</a><br /></td></tr>
<tr class="separator:ga67aa5ca0c54bc8f2c7acd69cca6829a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5f0a4a27b28ce45fa0945d737ad61cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#gae5f0a4a27b28ce45fa0945d737ad61cb">multicore_doorbell_unclaim</a> (uint doorbell_num, uint core_mask)</td></tr>
<tr class="memdesc:gae5f0a4a27b28ce45fa0945d737ad61cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cooperatively release the claim on use of this hardware alarm_num.  <a href="group__multicore__doorbell.html#gae5f0a4a27b28ce45fa0945d737ad61cb">More...</a><br /></td></tr>
<tr class="separator:gae5f0a4a27b28ce45fa0945d737ad61cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabea48541cd4405325439625c0f57bb02"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#gabea48541cd4405325439625c0f57bb02">multicore_doorbell_set_other_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:gabea48541cd4405325439625c0f57bb02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the given doorbell on the other core.  <a href="group__multicore__doorbell.html#gabea48541cd4405325439625c0f57bb02">More...</a><br /></td></tr>
<tr class="separator:gabea48541cd4405325439625c0f57bb02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6021effd0a028c81ecd02a85b67355a3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga6021effd0a028c81ecd02a85b67355a3">multicore_doorbell_clear_other_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:ga6021effd0a028c81ecd02a85b67355a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deactivate the given doorbell on the other core.  <a href="group__multicore__doorbell.html#ga6021effd0a028c81ecd02a85b67355a3">More...</a><br /></td></tr>
<tr class="separator:ga6021effd0a028c81ecd02a85b67355a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae267d5941dabffc3906e96a75257d9ba"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#gae267d5941dabffc3906e96a75257d9ba">multicore_doorbell_set_current_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:gae267d5941dabffc3906e96a75257d9ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the given doorbell on this core.  <a href="group__multicore__doorbell.html#gae267d5941dabffc3906e96a75257d9ba">More...</a><br /></td></tr>
<tr class="separator:gae267d5941dabffc3906e96a75257d9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22f960b66a5693ac4ff19e61ba6ffd45"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga22f960b66a5693ac4ff19e61ba6ffd45">multicore_doorbell_clear_current_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:ga22f960b66a5693ac4ff19e61ba6ffd45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deactivate the given doorbell on this core.  <a href="group__multicore__doorbell.html#ga22f960b66a5693ac4ff19e61ba6ffd45">More...</a><br /></td></tr>
<tr class="separator:ga22f960b66a5693ac4ff19e61ba6ffd45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafdf836e71f55b981d9d6a35ac17007e4"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#gafdf836e71f55b981d9d6a35ac17007e4">multicore_doorbell_is_set_current_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:gafdf836e71f55b981d9d6a35ac17007e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if the given doorbell is active on the other core.  <a href="group__multicore__doorbell.html#gafdf836e71f55b981d9d6a35ac17007e4">More...</a><br /></td></tr>
<tr class="separator:gafdf836e71f55b981d9d6a35ac17007e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03c48727a5b056879961be272a09e45f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__multicore__doorbell.html#ga03c48727a5b056879961be272a09e45f">multicore_doorbell_is_set_other_core</a> (uint doorbell_num)</td></tr>
<tr class="memdesc:ga03c48727a5b056879961be272a09e45f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if the given doorbell is active on the this core.  <a href="group__multicore__doorbell.html#ga03c48727a5b056879961be272a09e45f">More...</a><br /></td></tr>
<tr class="separator:ga03c48727a5b056879961be272a09e45f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >Functions related to doorbells which a core can use to raise IRQs on itself or the other core. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga676ee71a9eb92807a482e2467ed163f6" name="ga676ee71a9eb92807a482e2467ed163f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga676ee71a9eb92807a482e2467ed163f6">&#9670;&nbsp;</a></span>DOORBELL_IRQ_NUM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DOORBELL_IRQ_NUM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">doorbell_num</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="group__hardware__irq.html#gaf30862f51b5994ffd5863176a185d137">irq_num_t</a> for processor interrupts for the given doorbell number. </p>
<p >Note this macro is intended to resolve at compile time, and does no parameter checking </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga278b6df9e61e3b54b3862183a94513d2" name="ga278b6df9e61e3b54b3862183a94513d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga278b6df9e61e3b54b3862183a94513d2">&#9670;&nbsp;</a></span>multicore_doorbell_claim()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_doorbell_claim </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>core_mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cooperatively claim the use of this hardware alarm_num. </p>
<p >This method hard asserts if the hardware alarm is currently claimed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number to claim </td></tr>
    <tr><td class="paramname">core_mask</td><td>0b01: core 0, 0b10: core 1, 0b11 both core 0 and core 1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>hardware_claiming </dd></dl>

</div>
</div>
<a id="ga67aa5ca0c54bc8f2c7acd69cca6829a6" name="ga67aa5ca0c54bc8f2c7acd69cca6829a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67aa5ca0c54bc8f2c7acd69cca6829a6">&#9670;&nbsp;</a></span>multicore_doorbell_claim_unused()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int multicore_doorbell_claim_unused </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>core_mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>required</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cooperatively claim the use of this hardware alarm_num. </p>
<p >This method attempts to claim an unused hardware alarm</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">core_mask</td><td>0b01: core 0, 0b10: core 1, 0b11 both core 0 and core 1 </td></tr>
    <tr><td class="paramname">required</td><td>if true the function will panic if none are available </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the doorbell number claimed or -1 if required was false, and none are available </dd></dl>
<dl class="section see"><dt>See also</dt><dd>hardware_claiming </dd></dl>

</div>
</div>
<a id="ga22f960b66a5693ac4ff19e61ba6ffd45" name="ga22f960b66a5693ac4ff19e61ba6ffd45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga22f960b66a5693ac4ff19e61ba6ffd45">&#9670;&nbsp;</a></span>multicore_doorbell_clear_current_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void multicore_doorbell_clear_current_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deactivate the given doorbell on this core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6021effd0a028c81ecd02a85b67355a3" name="ga6021effd0a028c81ecd02a85b67355a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6021effd0a028c81ecd02a85b67355a3">&#9670;&nbsp;</a></span>multicore_doorbell_clear_other_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void multicore_doorbell_clear_other_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deactivate the given doorbell on the other core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gafdf836e71f55b981d9d6a35ac17007e4" name="gafdf836e71f55b981d9d6a35ac17007e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafdf836e71f55b981d9d6a35ac17007e4">&#9670;&nbsp;</a></span>multicore_doorbell_is_set_current_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool multicore_doorbell_is_set_current_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine if the given doorbell is active on the other core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga03c48727a5b056879961be272a09e45f" name="ga03c48727a5b056879961be272a09e45f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03c48727a5b056879961be272a09e45f">&#9670;&nbsp;</a></span>multicore_doorbell_is_set_other_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool multicore_doorbell_is_set_other_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine if the given doorbell is active on the this core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae267d5941dabffc3906e96a75257d9ba" name="gae267d5941dabffc3906e96a75257d9ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae267d5941dabffc3906e96a75257d9ba">&#9670;&nbsp;</a></span>multicore_doorbell_set_current_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void multicore_doorbell_set_current_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Activate the given doorbell on this core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabea48541cd4405325439625c0f57bb02" name="gabea48541cd4405325439625c0f57bb02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabea48541cd4405325439625c0f57bb02">&#9670;&nbsp;</a></span>multicore_doorbell_set_other_core()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void multicore_doorbell_set_other_core </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Activate the given doorbell on the other core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae5f0a4a27b28ce45fa0945d737ad61cb" name="gae5f0a4a27b28ce45fa0945d737ad61cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae5f0a4a27b28ce45fa0945d737ad61cb">&#9670;&nbsp;</a></span>multicore_doorbell_unclaim()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void multicore_doorbell_unclaim </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>doorbell_num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>core_mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cooperatively release the claim on use of this hardware alarm_num. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doorbell_num</td><td>the doorbell number to unclaim </td></tr>
    <tr><td class="paramname">core_mask</td><td>0b01: core 0, 0b10: core 1, 0b11 both core 0 and core 1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>hardware_claiming </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>